package com.baiyichen.service;

import com.baiyichen.dao.TiMuMapper;
import com.baiyichen.pojo.TiMu;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Author:BaiYiChen
 * Date:2022/3/2216:47
 */
@Service
public class TiMuServiceImpl implements TiMuService{
  private TiMuMapper tiMuMapperImpl;
  @Autowired
  public void setTiMuMapperImpl(TiMuMapper tiMuMapperImpl) {
    this.tiMuMapperImpl = tiMuMapperImpl;
  }
  
  @Override
  public TiMu getTiMu(int id) {
    return tiMuMapperImpl.getTiMu(id);
  }
}
